package com.motong.gongdan.vo.system.exceptionHandle.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

@ApiModel("异常通知设置返回列表")
@Data
@Accessors(chain = true)
public class ExceptionGetListVo {

    @ApiModelProperty("异常id")
    private Long id;

    @ApiModelProperty("设备编号")
    private String deviceSn;

    @ApiModelProperty("分组id")
    private Long groupId;

    @ApiModelProperty("日期")
    private String date;

    @ApiModelProperty("亮灯颜色名称")
    private String lampColorName;

    @ApiModelProperty("异常原因")
    private String exceptionReason;

    @ApiModelProperty("开始时间")
    private String startTime;

    @ApiModelProperty("时长(h)")
    private BigDecimal durationHour;

    @ApiModelProperty("结束时间")
    private String endTime;

    @ApiModelProperty("工单号")
    private String workOrderCode;

    @ApiModelProperty("产品编号")
    private String productCode;

    @ApiModelProperty("亮灯颜色(0 黄色,1 红色)")
    private Integer lampColor;

    @ApiModelProperty(value = "创建时间", hidden = true)
    private Date createDateTime;

    @ApiModelProperty(value = "结束时间", hidden = true)
    private Date endDateTime;

}
